package service.configuration.xstream;

import java.util.List;

import service.configuration.IBlockConfig;
import service.configuration.IPersonSheetConfig;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("personsheet")
public class PersonSheetConfig extends SheetConfig implements IPersonSheetConfig {
	
	private String firstName;
	private String lastName;
	private String mail;
	private String ldap;
	
	
	public PersonSheetConfig(String name, String table, String label, String code, 
			List<IBlockConfig> blocks,
			String firstName, String lastName, String mail, String ldap) {
		
		super(name, table, label, code, blocks);
		
		this.firstName = firstName;
		this.lastName = lastName;
		this.mail = mail;
		this.ldap = ldap;
	}
	
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getLdap() {
		return ldap;
	}
	public void setLdap(String ldap) {
		this.ldap = ldap;
	}
}
